﻿
using UnityEngine;


namespace XFGameFramework.TweenSystem
{
    /// <summary>
    /// GameObject拓展
    /// </summary>
    public static class GameObjectExtensions 
    {

        /// <summary>
        /// 停止该游戏物体所有组件的动画播放
        /// </summary>
        public static void KillAll(this GameObject gameObject)
        { 
            TweenManager.KillAll(gameObject);
        }

    }

}

